package com.hn658.base.message.notisender.utils;

public interface IDeviceTokenManager {
	/**
	 * 保存用户的苹果推送token
	 * @param appId
	 * @param uid
	 * @param apnsToken
	 */
	public void setApnsToken(String appId,String uid,String apnsToken);
	/**
	 * 保存androd用户的百度推送channelId和userId
	 * @param appId
	 * @param uid
	 * @param channelId
	 * @param userId
	 */
	public void setChannelId(String appId,String uid,Long channelId,String userId);
	/**
	 * 移除用户的苹果推送token
	 * @param appId
	 * @param uid
	 */
	public void removeApnsToken(String appId,String uid);
	/**
	 * 移除用户的百度推送channelId
	 * @param appId
	 * @param uid
	 */
	public void removeChannelId(String appId,String uid);
	/**
	 * 获取用户的苹果推送token
	 * @param appId
	 * @param uid
	 * @return
	 */
	public String getApnsToken(String appId,String uid);
	/**
	 * 获取用户的百度推送channelId
	 * @param appId
	 * @param uid
	 * @return
	 */
	public Long getChannelId(String appId,String uid);
	/**
	 * 获取用户的百度推送userId
	 * @param appId
	 * @param uid
	 * @return
	 */
	public String getUserId(String appId,String uid);
}
